<!DOCTYPE html>
<html class="no-js">
<head>
    <title>信息系统</title>
    <!-- Bootstrap -->
    <link href="__PUBLIC__/css/bootstrap.min.css" rel="stylesheet" media="screen">
    <link href="__PUBLIC__/css/bootstrap-responsive.min.css" rel="stylesheet" media="screen">
    <link href="__PUBLIC__/vendors/easypiechart/jquery.easy-pie-chart.css" rel="stylesheet" media="screen">
    <link href="__PUBLIC__/css/styles.css" rel="stylesheet" media="screen">
    <link href="__PUBLIC__/css/DT_bootstrap.css" rel="stylesheet" media="screen">
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <script src="__PUBLIC__/js/modernizr-2.6.2-respond-1.1.0.min.js"></script>
    <block name="style"></block>
</head>

<body>
<div class="navbar navbar-fixed-top">
    <div class="navbar-inner">
        <div class="container-fluid">
            <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </a>
            <a class="brand" href="#">信息系统</a>
            <div class="nav-collapse collapse">
                <ul class="nav pull-right">
                    <li class="dropdown">
                        <a href="{:U('User/info')}" role="button" class="dropdown-toggle" data-toggle="dropdown"> <i class="icon-user"></i>{:session('user_auth.username')} <i class="caret"></i>
                        </a>
                        <ul class="dropdown-menu">
                            <li>
                                <a href="{:U('User/changePwd')}">修改密码</a>
                                <a tabindex="-1" href="{:U('Public/logout')}">登出</a>
                            </li>
                        </ul>
                    </li>
                </ul>
                <ul class="nav">
                    <volist name="__MENU__.main" id="menu">
                        <li class="{$menu.class|default=''}"><a href="{$menu.url|U}">{$menu.title}</a></li>
                    </volist>
                </ul>
            </div>
            <!--/.nav-collapse -->
        </div>
    </div>
</div>
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span3" id="sidebar">
            <ul class="nav nav-list bs-docs-sidenav nav-collapse collapse" id="subnav">
                <block name="nav">

                <volist name="__MENU__.child" id="sub_menu">
                    <notempty name="sub_menu">
                            <volist name="sub_menu" id="menu">
                                <li>
                                    <a href="{$menu.url|U}">{$menu.title}</a>
                                </li>
                            </volist>
                    </notempty>
                </volist>
                </block>
            </ul>
        </div>

        <!--/span-->
        <div class="span9" id="content">
            <div id="top-alert" class="fixed alert"  style="display: none;">
                <button class="close" data-dismiss="alert" type="button">×</button>
                <div class="alert-content">这是内容</div>
            </div>
            <block name="content">
                内容所在地方
            </block>
        </div>
    </div>
    <hr>
    <footer>
        <p>&copy; kevin19a</p>
    </footer>
</div>
<!--/.fluid-container-->
<script src="__PUBLIC__/js/jquery-1.9.1.min.js"></script>
<script src="__PUBLIC__/js/bootstrap.min.js"></script>
<script src="__PUBLIC__/js/scripts.js"></script>
<script src="__PUBLIC__/js/common.js"></script>
<script src="__PUBLIC__/js/jquery.dataTables.min.js"></script>
<script src="__PUBLIC__/js/DT_bootstrap.js"></script>
<script src="__PUBLIC__/js/fc.js"></script>
<script src="__PUBLIC__/js/My97DatePicker/WdatePicker.js"></script>
<script src="__PUBLIC__/js/ajaxfileupload.js"></script>
<script type="text/javascript">
    +function(){
        var $window = $(window), $subnav = $("#subnav"), url;
        /* 左边菜单高亮 */
        url = window.location.pathname + window.location.search;
        url = url.replace(/(\/(p)\/\d+)|(&p=\d+)|(\/(id)\/\d+)|(&id=\d+)|(\/(group)\/\d+)|(&group=\d+)/, "");
        $subnav.find("a[href='" + url + "']").parent().addClass("active");
    }();
</script>
<block name="script"></block>
</body>

</html>